/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package queenb.net.entitybean;

/**
 * @author   :thuyettruong
 * @package  :queenb.net.entitybean
 * @file     :Q100.java
 * @created  :Jul 1, 2010
 * $updated  :
 * @purpose  : 
 *
 */
import java.sql.Date;
import oracle.jdbc.OracleTypes;
import queenb.net.annotation.Mapping;
import queenb.net.datacontrol.DataControl;

public class Q100 extends DataControl<Q100> implements java.io.Serializable{
    @Mapping(name = "fn100", typeMapping = OracleTypes.INTEGER)
    public int fn100;
    @Mapping(name = "qv101", typeMapping = OracleTypes.CHAR)
    public String qv101;
    @Mapping(name = "qv102", typeMapping = OracleTypes.CHAR)
    public String qv102;
    @Mapping(name = "qd103", typeMapping = OracleTypes.DATE)
    public Date qd103;
    @Mapping(name = "qd104", typeMapping = OracleTypes.DATE)
    public Date qd104;
    @Mapping(name = "nv102", typeMapping = OracleTypes.CHAR)
    public String nv102;
    @Mapping(name = "nv103", typeMapping = OracleTypes.CHAR)
    public String nv103;
    @Mapping(name = "FN100", typeMapping = OracleTypes.INTEGER)
    private int id;
    @Mapping(name = "QV101", typeMapping = OracleTypes.CHAR)
    private String userName;
    @Mapping(name = "QV102", typeMapping = OracleTypes.CHAR)
    private String password;
    @Mapping(name = "QV105", typeMapping = OracleTypes.CHAR)
    private String email;
    @Mapping(name = "QV106", typeMapping = OracleTypes.CHAR)
    private String mobile;
    @Mapping(name = "QV107", typeMapping = OracleTypes.CHAR)
    private String tel;
    @Mapping(name = "QV114", typeMapping = OracleTypes.CHAR)
    private String qv114;
    @Mapping(name = "QV115", typeMapping = OracleTypes.CHAR)
    private String qv115;
    @Mapping(name = "QV116", typeMapping = OracleTypes.CHAR)
    private String qv116;
    @Mapping(name = "QV117", typeMapping = OracleTypes.CHAR)
    private String qv117;
    @Mapping(name = "QV118", typeMapping = OracleTypes.CHAR)
    private String qv118;
    @Mapping(name = "QV119", typeMapping = OracleTypes.CHAR)
    private String qv119;
    @Mapping(name = "QV120", typeMapping = OracleTypes.CHAR)
    private String qv120;
    @Mapping(name = "QV121", typeMapping = OracleTypes.CHAR)
    private String qv121;
    @Mapping(name = "QV108", typeMapping = OracleTypes.CHAR)
    private String fax;
    @Mapping(name = "QD103", typeMapping = OracleTypes.DATE)
    private Date startAt;
    @Mapping(name = "QD104", typeMapping = OracleTypes.DATE)
    private Date endAt;
    @Mapping(name = "FC550", typeMapping = OracleTypes.CHAR)
    private String type;
    @Mapping(name = "QV109", typeMapping = OracleTypes.CHAR)
    private String device;
    /////////////////priority//////////////////
    @Mapping(name = "FC4501", typeMapping = OracleTypes.INTEGER)
    private int priorityA;
    @Mapping(name = "FC4502", typeMapping = OracleTypes.INTEGER)
    private int priorityB;
    @Mapping(name = "FC4503", typeMapping = OracleTypes.INTEGER)
    private int priorityC;
    ///////////////////////////Status///////////////////////////////
    @Mapping(name = "FC5001", typeMapping = OracleTypes.INTEGER)
    private int status1;
    @Mapping(name = "FC5002", typeMapping = OracleTypes.INTEGER)
    private int status2;
    @Mapping(name = "FC5003", typeMapping = OracleTypes.INTEGER)
    private int status3;
    
    
     @Mapping(name = "val", typeMapping = OracleTypes.INTEGER)
    private int val;
    @Mapping(name = "label", typeMapping = OracleTypes.CHAR)
    private String label;

    public int getFn100() {
        return fn100;
    }

    public void setFn100(int fn100) {
        this.fn100 = fn100;
    }

    public String getNv102() {
        return nv102;
    }

    public void setNv102(String nv102) {
        this.nv102 = nv102;
    }

    public String getNv103() {
        return nv103;
    }

    public void setNv103(String nv103) {
        this.nv103 = nv103;
    }

    public Date getQd103() {
        return qd103;
    }

    public void setQd103(Date qd103) {
        this.qd103 = qd103;
    }

    public Date getQd104() {
        return qd104;
    }

    public void setQd104(Date qd104) {
        this.qd104 = qd104;
    }

    public String getQv101() {
        return qv101;
    }

    public void setQv101(String qv101) {
        this.qv101 = qv101;
    }

    public String getQv102() {
        return qv102;
    }

    public void setQv102(String qv102) {
        this.qv102 = qv102;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the mobile
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * @param mobile the mobile to set
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * @return the tel
     */
    public String getTel() {
        return tel;
    }

    /**
     * @param tel the tel to set
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * @return the fax
     */
    public String getFax() {
        return fax;
    }

    /**
     * @param fax the fax to set
     */
    public void setFax(String fax) {
        this.fax = fax;
    }

    /**
     * @return the startAt
     */
    public Date getStartAt() {
        return startAt;
    }

    /**
     * @param startAt the startAt to set
     */
    public void setStartAt(Date startAt) {
        this.startAt = startAt;
    }

    /**
     * @return the endAt
     */
    public Date getEndAt() {
        return endAt;
    }

    /**
     * @param endAt the endAt to set
     */
    public void setEndAt(Date endAt) {
        this.endAt = endAt;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return the device
     */
    public String getDevice() {
        return device;
    }

    /**
     * @param device the device to set
     */
    public void setDevice(String device) {
        this.device = device;
    }

    /**
     * @return the priorityA
     */
    public int getPriorityA() {
        return priorityA;
    }

    /**
     * @param priorityA the priorityA to set
     */
    public void setPriorityA(int priorityA) {
        this.priorityA = priorityA;
    }

    /**
     * @return the priorityB
     */
    public int getPriorityB() {
        return priorityB;
    }

    /**
     * @param priorityB the priorityB to set
     */
    public void setPriorityB(int priorityB) {
        this.priorityB = priorityB;
    }

    /**
     * @return the priorityC
     */
    public int getPriorityC() {
        return priorityC;
    }

    /**
     * @param priorityC the priorityC to set
     */
    public void setPriorityC(int priorityC) {
        this.priorityC = priorityC;
    }

    /**
     * @return the status1
     */
    public int getStatus1() {
        return status1;
    }

    /**
     * @param status1 the status1 to set
     */
    public void setStatus1(int status1) {
        this.status1 = status1;
    }

    /**
     * @return the status2
     */
    public int getStatus2() {
        return status2;
    }

    /**
     * @param status2 the status2 to set
     */
    public void setStatus2(int status2) {
        this.status2 = status2;
    }

    /**
     * @return the status3
     */
    public int getStatus3() {
        return status3;
    }

    /**
     * @param status3 the status3 to set
     */
    public void setStatus3(int status3) {
        this.status3 = status3;
    }

    /**
     * @return the qv114
     */
    public String getQv114() {
        return qv114;
    }

    /**
     * @param qv114 the qv114 to set
     */
    public void setQv114(String qv114) {
        this.qv114 = qv114;
    }

    /**
     * @return the qv115
     */
    public String getQv115() {
//        if(qv115.equals("vi"))
//        {
//            setQv115("Việt Nam");
//        }
//        if(qv115.equals("de")){
//            setQv115("Deutsch");
//        }
//        if(qv115.equals("en")){
//             setQv115("English");
//        }
        return qv115;
    }

    /**
     * @param qv115 the qv115 to set
     */
    public void setQv115(String qv115) {
        this.qv115 = qv115;
    }

    /**
     * @return the qv116
     */
    public String getQv116() {
        return qv116;
    }

    /**
     * @param qv116 the qv116 to set
     */
    public void setQv116(String qv116) {
        this.qv116 = qv116;
    }

    /**
     * @return the val
     */
    public int getVal() {
        return val;
    }

    /**
     * @param val the val to set
     */
    public void setVal(int val) {
        this.val = val;
    }

    /**
     * @return the label
     */
    public String getLabel() {
        return label;
    }

    /**
     * @param label the label to set
     */
    public void setLabel(String label) {
        this.label = label;
    }

    /**
     * @return the qv117
     */
    public String getQv117() {
        return qv117;
    }

    /**
     * @param qv117 the qv117 to set
     */
    public void setQv117(String qv117) {
        this.qv117 = qv117;
    }

    /**
     * @return the qv118
     */
    public String getQv118() {
        return qv118;
    }

    /**
     * @param qv118 the qv118 to set
     */
    public void setQv118(String qv118) {
        this.qv118 = qv118;
    }

    /**
     * @return the qv119
     */
    public String getQv119() {
        return qv119;
    }

    /**
     * @param qv119 the qv119 to set
     */
    public void setQv119(String qv119) {
        this.qv119 = qv119;
    }

    /**
     * @return the qv120
     */
    public String getQv120() {
        return qv120;
    }

    /**
     * @param qv120 the qv120 to set
     */
    public void setQv120(String qv120) {
        this.qv120 = qv120;
    }

    /**
     * @return the qv121
     */
    public String getQv121() {
        return qv121;
    }

    /**
     * @param qv121 the qv121 to set
     */
    public void setQv121(String qv121) {
        this.qv121 = qv121;
    }

}
